<template>
  <div>
<h3>登录页面</h3>
<tbody>
  <tr>
    <td align="right">用户名</td>
    <td>
      <input type="text" v-model="usename">
    </td>
  </tr>
  <tr>
    <td align="right">密码</td>
    <td>
      <input type="password" v-model="usepwss">
    </td>
  </tr>
  <tr>
    <td></td>
    <td>
      <input type="button" value="登录" class="btn-primary" @click="log">
    </td>
  </tr>
</tbody>
  </div>
</template>

<script setup lang="ts">
import{ref,reactive}from 'vue'
let usename=ref("usename");
let usepwss=ref("usepwss");
const log=()=>{
alert(usename.value);
}
</script>

<style scoped>

</style>